package com.hzw.saas.web.app.group.dto;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 群组
 * </p>
 *
 * @author sonam
 * @since 2020-12-23
 */
@Data
@ApiModel(value = "群组检索结果", description = "群组信息")
@EqualsAndHashCode(callSuper = false)
public class SearchGroupDto implements Serializable {

    private static final long serialVersionUID = 8027182063289489139L;

    @ApiModelProperty(value = "groupId", required=true)
    private String groupId;

    @ApiModelProperty(value = "群组名称", required=true)
    private String groupName;

    @ApiModelProperty(value = "群组头像")
    private String groupAvater;

    @ApiModelProperty(value = "群组摘要")
    private String groupDesc;

    @ApiModelProperty(value = "当前群组用户数量")
    private Integer groupUserNum;

    @ApiModelProperty(value = "创建人真实姓名")
    private String ownerName;

    @ApiModelProperty(value = "发送申请加入群组状态，0：已发送申请|1：没有申请|-1：申请过期")
    private Integer applyStatus;

    @ApiModelProperty(value = "文本状态")
    private String applyText;

}
